<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
</head>
<body>
	<div class="txtcenter" style="margin:0 auto; height: 100%;">
		<div class="light-app-left" id="showLeftMenu">
			<p class="app-title">
				<span>轻应用</span>
			</p>
			<div class="setting" id="setting">
			</div>
		</div>
	    <div class="light-app-right" id="showForm">
	    	<div class="h1 line-1" id="title"><i class="font-icon icon-reorder"></i>全部</div>
			<ul class="app-list" id="appList" style="float:left">
			</ul>
	    </div>
	</div>

	<script type="text/html" id="lightAppShowItemTemplate">
		<a class="selected" rowid="" rowname="全部"><i class="font-icon icon-reorder"></i>全部</a>
		{{#each rows}}
		<a rowid="{{id}}" rowname="{{name}}">
			<div style="line-height: 40px; width: 60px; float: left">{{{iconHtml}}}</div>
			<div style="width: calc(100% - 60px); float: left; text-align: left;" class="line-1" title="{{name}}">{{name}}</div>
		</a>
		{{/each}}
	</script>

	<script type="text/html" id="lightAppShowListTemplate">
		{{#each rows}}
		<li class="app-li">
			<div class="icon">
				<img src="{{logo}}" rowurl="{{appUrl}}" rowtitle="{{name}}"  style="height:65px; width:65px; margin-top:15px;">
			</div>
			<div class="text">
				<div class="name line-1" title="{{name}}">{{name}}</div>
				<div class="copyright line-1" title="{{remark}}">{{remark}}</div>
			</div>
			<div class="btn-group action">
				<button type="button" class="btn btn-sm btn-default" rowid="{{id}}">添加</button>
			</div>
		</li>
		{{/each}}
		<li class="flex-empty"></li>
		<li class="flex-empty"></li>
		<li class="flex-empty"></li>
		<li class="flex-empty"></li>
		<li class="flex-empty"></li>
		<li class="flex-empty"></li>
		<li class="flex-empty"></li>
		<li class="flex-empty"></li>
		<li class="flex-empty"></li>
		<li class="flex-empty"></li>
		<li class="flex-empty"></li>
	</script>

    <script src="../../assets/lib/layui/layui.js"></script>
    <script src="../../assets/lib/layui/custom.js"></script>
    <script type="text/javascript">
        layui.config({base: '../../js/lightAppShow/'}).use('lightAppShow');
    </script>
</body>
</html>